ComponentOne ReportViewer for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Preview Namespace / UserCellGroup Class / UserCellGroup Constructor / UserCellGroup Constructor(Object[])

The list of rectangular areas or individual cell coordnates to include in the group, each item in the list may be either a System.Drawing.Rectangle or a System.Drawing.Point structure.

If the item is a System.Drawing.Rectangle, it identifies an area to include as follows: If the item is a System.Drawing.Point, it identifies a cell to include as follows:

In This Topic
    UserCellGroup Constructor(Object[])
    In This Topic
    Initializes a new instance of the UserCellGroup class, includes a range of cells identified by a list of rectangular areas or individual cell coordnates, in the group.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal ParamArray areas() As System.Object _
    )
    public UserCellGroup( 
       params System.object[] areas
    )

    Parameters

    areas

    The list of rectangular areas or individual cell coordnates to include in the group, each item in the list may be either a System.Drawing.Rectangle or a System.Drawing.Point structure.

    If the item is a System.Drawing.Rectangle, it identifies an area to include as follows:
    • System.Drawing.Rectangle.X is the column index of the top left cell;
    • System.Drawing.Rectangle.Y is the row index of the top left cell;
    • System.Drawing.Rectangle.Width is the number of columns;
    • System.Drawing.Rectangle.X is the number of rows.
    If the item is a System.Drawing.Point, it identifies a cell to include as follows:
    • System.Drawing.Point.X is the column index of the cell;
    • System.Drawing.Point.Y is the row index of the cell.
    See Also